package com.cmcc.passenger.data.entity


import com.cmcc.passenger.data.entity.response.CarCategory
import com.cmcc.passenger.data.entity.response.Tunnel

data class OrderDetail(
    val bountyFee: String,
    val carCategory: CarCategory,
    val createTime: String,
    val driver: Driver,
    val driverCarId: String,
    val driverCarIdCard: String,
    val driverCarModel: String,
    val durationFee: String,
    val endAddress: String,
    val endCoordinates: EndCoordinates,
    val endCoordinatesStr: String,
    val id: String,
    val mileageFee: String,
    val overTime: String,
    val passenger: Passenger,
    val payMethod: String,
    val remark: String,
    val startAddress: String,
    val startCoordinates: StartCoordinates,
    val startCoordinatesStr: String,
    val stationIndex: Int,
    val status: Int,
    val totalAmount: String,
    val tunnel: Tunnel,
    val type: Int,
    val startTime:String,
    val orderNumber:String,//订单号
    val score:String//评分

)

data class CarCategory(
    val id: String,
    val kilometreFee: Any,
    val minuteFee: Any,
    val name: Any
)

data class Driver(
    val driverCardFileAddress: Any,
    val driverCardNumber: Any,
    val email: Any,
    val headPortraitAddress: String,
    val id: String,
    val name: String,
    val openId: Any,
    val phone: String,
    val reviewStatus: Any,
    val workCardFileAddress: Any,
    val workCardNumber: Any
)

data class EndCoordinates(
    val latitude: Double,
    val longitude: Double,
    val point: Point
)

data class Point(
    val x: Double,
    val y: Double
)

data class Passenger(
    val createTime: Any,
    val email: Any,
    val headPortraitAddress: String,
    val id: String,
    val name: String,
    val openId: Any,
    val phone: String
)

data class StartCoordinates(
    val latitude: Double,
    val longitude: Double,
    val point: PointX
)

data class PointX(
    val x: Double,
    val y: Double
)

data class Tunnel(
    val fee: Any,
    val id: String,
    val name: Any
)